home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 4 / Amiga Tools 4.iso / tools / netzwerk / tcp-ip / usno / docs / timesrv.1 < prev    next >
Text File  |  1996-02-26  |  1KB  |  43 lines

  1. @.TH timesrv 1 local
  2. @.SH NAME
  3. timesrv \- set local system time to time server host system time
  4. @.SH SYNOPSIS
  5. @.B timesrv <hostname>
  6. @.SH DESCRIPTION
  7. @.I Timesrv
  8. provides a TCP service on an Internet time server host using BSD 
  9. Internet Stream Sockets.  It obtains the current system time
  10. of the server's system clock time as a long int in units of
  11. seconds since the Epoch (end of 1969), and sends it out on stream
  12. socket 22375 (an arbitrary number, which must be matched on the
  13. client host). Normally the time
  14. server is a system that sychronizes to Master Clock time.
  15. @.PP
  16. @.I timesrv
  17. is designed to be  spawned by 
  18. @.I inetd
  19. @.PP
  20. @.I timesrv
  21. requires the following entry in
  22. @.I /etc/services:
  23. @.PP
  24. timesrv   22375/tcp          
  25. @.PP
  26. and the following entry in 
  27. @.I /etc/inetd.conf:
  28. @.PP
  29. timesrv stream tcp  nowait  root /usr/local/bin/timesrv timesrv
  30. @.PP
  31. After adding these lines, inetd must be restarted with the command:
  32. @.I /etc/inetd -c
  33. @.RE
  34. @.fi
  35.  
  36. @.SH AUTHOR
  37. @.PP
  38. @.I timesrv 
  39. written by Rich Schmidt, US Naval Observatory, 1992.
  40.  
  41. @.SH "SEE ALSO"
  42. time_set(1), timecheck(1), time(2), stime(2). 
  43.